package org.zfes.snowier.cloud.zbss.cms.column.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.cms.column.model.CmsColumnGroupView;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CmsColumnGroupViewMapper extends BaseMapper<CmsColumnGroupView>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<CmsColumnGroupView> selectModelListPage(ParamMap params);
	
	void deleteByColumnId(Long columnId);
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status);
	int updateStatusByColumnId(@Param("columnId")Long columnId, @Param("status")Byte status);
}
